﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace SqlSugarAndEntity
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("courses")]
    public partial class courses
    {
           public courses(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
           public int Id {get;set;}

           /// <summary>
           /// Desc:课程名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Name {get;set;}

           /// <summary>
           /// Desc:正题名
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ProperTile {get;set;}

           /// <summary>
           /// Desc:排序
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public int? Order {get;set;}

           /// <summary>
           /// Desc:国图标准-其他题名
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string OtherTitle {get;set;}

           /// <summary>
           /// Desc:国图标准-学科类型
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string SubjectType {get;set;}

           /// <summary>
           /// Desc:国图标准-内容形式
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ContentType {get;set;}

           /// <summary>
           /// Desc:国图标准-中图分类
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ChineseLibraryClassification {get;set;}

           /// <summary>
           /// Desc:课程缩略图--课程代码做课程缩略图文件名
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CourseImage {get;set;}

           /// <summary>
           /// Desc:课程banner图 用于微学习
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string BannerImage {get;set;}

           /// <summary>
           /// Desc:精品课缩略图 用于微学习
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ThirdImage {get;set;}

           /// <summary>
           /// Desc:关键字
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string KeyWords {get;set;}

           /// <summary>
           /// Desc:课程简介
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Infos {get;set;}

           /// <summary>
           /// Desc:是否推荐 1：是 0：否
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public int? IsRecommend {get;set;}

           /// <summary>
           /// Desc:是否是精品课
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public int? IsWJP {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string JPAddress {get;set;}

           /// <summary>
           /// Desc:微客代码
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string WKCode {get;set;}

           /// <summary>
           /// Desc:国图标准-相关资源
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string RelationSource {get;set;}

           /// <summary>
           /// Desc:
           /// Default:CURRENT_TIMESTAMP
           /// Nullable:True
           /// </summary>           
           public DateTime? CreateTime {get;set;}

           /// <summary>
           /// Desc:是否置顶
           /// Default:b'0'
           /// Nullable:True
           /// </summary>           
           public bool? IsTop {get;set;}

           /// <summary>
           /// Desc:状态 0正常 1下架 -1删除
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public int? Status {get;set;}

           /// <summary>
           /// Desc:
           /// Default:CURRENT_TIMESTAMP
           /// Nullable:True
           /// </summary>           
           public DateTime? EditDateTime {get;set;}

    }
}
